﻿/**
 * Peter
 * Created by: Peter Development Team
 *    http://peter.codeplex.com/
 * 
 * GNU General Public License version 2 (GPLv2)
 *    http://peter.codeplex.com/license
 **/

using System.Windows.Input;

namespace Peter.Common.Interfaces
{
   /// <summary>
   /// Interface for objects in peter that are editable.
   /// </summary>
   public interface IEditable
   {
      /// <summary>
      /// Gets if the editable needs saving.
      /// </summary>
      bool NeedsSaving { get; }

      /// <summary>
      /// Gets the edit command.
      /// </summary>
      ICommand EditCommand { get; }
   }
}
